package com.gis3c.sys.web.taglib;

import com.gis3c.sys.dao.MessageDao;
import com.gis3c.sys.utils.SpringBeanFactoryUtils;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;


/**
 * Created by Administrator on 2017/6/8.
 */
public class Message extends SimpleTagSupport {
    public void doTag()throws JspException,IOException {
        MessageDao messageDao = SpringBeanFactoryUtils.getBean(MessageDao.class);
        getJspContext().getOut().write(messageDao.GetStatic());
    }
}
